package com.biz.model.Hmodel.basic;
// default package

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.util.Date;


/**
 * Twxgoods entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="base_wxgoods"
)

public class Twxgoods implements java.io.Serializable {


    // Fields    

     private String id;
     private String name;
     private String info;
     private Short isSale=0;
     private Integer sales=0;
     private Short isdel=0;
     private Date createTime=new Date();
     private String subtitle;
    private String infoLite;
    private String unitId;
    private String brand;
    private Integer isTicket=0;
    private String coverId;
    private Integer isRecommend=0;
    private Integer intPro;
    /** default constructor */
    public Twxgoods() {
    }


    // Property accessors
    @GenericGenerator(name="generator", strategy="uuid.hex")@Id @GeneratedValue(generator="generator")

    @Column(name="id", unique=true, nullable=false, length=50)

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    @Column(name="name", length=50)

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    

    @Column(name="info", length=65535)

    public String getInfo() {
        return this.info;
    }
    
    public void setInfo(String info) {
        this.info = info;
    }
    
    @Column(name="isSale")
    public Short getIsSale() {
		return isSale;
	}


	public void setIsSale(Short isSale) {
		this.isSale = isSale;
	}


	@Column(name="sales")
	public Integer getSales() {
		return sales;
	}


	public void setSales(Integer sales) {
		this.sales = sales;
	}


	@Column(name="isdel")

    public Short getIsdel() {
        return this.isdel;
    }
    
    public void setIsdel(Short isdel) {
        this.isdel = isdel;
    }
    
    @Column(name="createTime", length=19)

    public Date getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Column(name="subtitle", length=255)
    
	public String getSubtitle() {
		return subtitle;
	}

	public void setSubtitle(String subtitle) {
		this.subtitle = subtitle;
	}



    @Column(name = "infolite", length = 50)
    public String getInfoLite() {
        return infoLite;
    }

    public void setInfoLite(String infoLite) {
        this.infoLite = infoLite;
    }

    
    @Column(name = "unitId", length = 50)
    public String getUnitId() {
        return unitId;
    }

    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }
    @Column(name = "brand", length = 50)
    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }


    @Column(name = "isTicket", length = 50)
    public Integer getIsTicket() {
        return isTicket;
    }

    public void setIsTicket(Integer isTicket) {
        this.isTicket = isTicket;
    }


    @Column(name = "coverId", length = 50)
    public String getCoverId() {
        return coverId;
    }

    public void setCoverId(String coverId) {
        this.coverId = coverId;
    }
    @Column(name = "isRecommend")
    public Integer getIsRecommend() {
        return isRecommend;
    }

    public void setIsRecommend(Integer isRecommend) {
        this.isRecommend = isRecommend;
    }

    @Column(name = "intPro")
    public Integer getIntPro() {
        return intPro;
    }

    public void setIntPro(Integer intPro) {
        this.intPro = intPro;
    }
}